#include "HttpServer.hpp"

using namespace HttpServerModule;



int main(int argc,char* argv[])
{
    ENABLE_FILESYSTEM_LOG_STRATEGY();
    if (argc != 2)
    {
        std::cout << "Use htttpserver + port!!" << std::endl;
        return 1;
    }

    std::shared_ptr<HttpServer> httpserver = std::make_shared<HttpServer>(std::stoi(argv[1]));

    httpserver->Start();
    return 0;
}